package com.ssy.lingxi.system.dao;

import com.ssy.lingxi.system.entity.FriendUrl;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FriendUrlRepository extends JpaRepository<FriendUrl, Long> {

    /**
    * 根据站点ID查询友情链列表
    * @author wrc
    * @date 2020/6/3
    */
    List<FriendUrl> findAllBySiteIdEquals(Long siteId);
}
